{extend name="public/base"/}
{block name="style"}
<link rel="stylesheet" href="/public/lboyue/css/newStyle.css">
<script src="/public/lboyue/js/libs/jquery.cookie.js"></script>
<script src="/public/lboyue/js/libs/jquerybase64.js"></script>
<script src="/public/lboyue/js/book.js"></script>

{/block}
{block name="body"}
{include file="public/header" /}
<div class="bodySection">
            
    <div class="centerSection">

	<div class="userLeft_block">
		{include file="public/leftuser" /}
	</div>

    <div class="userRight_block">
            <div class="userMoney">
                <div class="section_title2">
                    我的书架(3)
                        <span class="right">
                            <a {eq name="time" value="updata"} class="active"{/eq} href="/personal/info/?time=updata">更新时间</a><i>|</i><a {eq name="time" value="redupdata"} class="active"{/eq} href="/personal/info/?time=redupdata">阅读时间</a>
                        </span>
                    <span class="left" style="font-size: 14px;">
                        <div class="caseSection_listCheckbox" style="height: 61px;display: none">
                            <i class="agreeCheckbox  checkboxPlugin" id="allCheckbox"></i>
                        </div>
                        <a onclick="setuserreadlog(1)" onselectstart="return false;" id="guanli">管理</a>
                        <a onclick="addbookshelf(1,0,4, '{$Think.config.web_pc_url|str_replace="http://www","",###}')" onselectstart="return false;" style="display: none" id="delete">删除</a>
                        <a onclick="setuserreadlog(2)" onselectstart="return false;" style="margin-left: 10px;display: none" id="over">完成</a>
                     </span>
                </div>


                <div class="userCenterList">

                    <div class="caseSection_list  caseSection_listStyle" id="userCenterList">
                        <ul>
							{volist name="bookcase" id="vo"}
							
							{if $vo['bookid']>0}
                            <li>
                                    <div class="borderBottom">
                                        <div class="caseSection_listCheckbox" style="display: none">
                                            <i class="agreeCheckbox  checkboxPlugin checkcode"></i>
                                            <input type="hidden" class="bookid" value="{$vo.articleid}">
                                        </div>
                                        <a href="{:url('/book/info',['id'=>$vo['articleid']])}">
                                            <div class="leftImage">
                                                <img src="{$vo.articleid|get_novel=###,'cover'}" alt="" />
                                            </div>
                                        </a>
                                        <div class="rightContent">
                                            <a href="{:url('/book/info',['id'=>$vo['articleid']])}"><div class="title">{$vo.name}</div></a>
                                            <div class="link">
                                                <span>{$vo.author}</span> |
                                                <span>{$vo.category_id|get_category=###,'title'}</span> |
                                                <span>{php}if($vo['fullflag']==1){ echo "完本";}else{ echo "连载中";}{/php}</span>
                                            </div>
                                            <a href="{:url('/book/info',['id'=>$vo['articleid']])}">
                                                <div class="cons">
                                                    　　{$vo.intro}</a>
                                            <div class="bottom">
                                                <span class="left"><a href="/chapter/read/{$vo.articleid}/{$vo.lastvolumeid}/"><i>最新更新:{$vo.lastvolume}</i></a> {$vo.update_time|date='Y-m-d H:i:s',###}</span>
                                                <span class="right">
                                                    <a class="button active" href="/chapter/read/{$vo.articleid}/{$vo.chapterid}/">继续阅读</a>
                                                </span>
                                            </div>
                                        </div>
                                    </div>

                                </li>
							{/if}
							{/volist}
							</ul>
                    </div>
					
					{$bookcase->render()}

                </div>
            </div>
        </div>
    </div>
</div>
{block name="include"}{include file="public:footer" /}{/block}
{/block}
{block name="script"}
<script>
	$(document).ready(function () {
		changeCheckboxState();

		selectAllCheckbox();
		deleteList();

	});
</script>
<script>
    $(document).ready(function () {
        bindnews();
        bindbookshelf();
        bindnav();
    });
</script>
{/block}


